package simulator.ui;

import java.util.TimerTask;

/**
 * Timed task for issuing step requests to the controller.
 * 
 * @author Kyle Loomis
 * 
 */
public class ScenarioRunner extends TimerTask
{
   private SimulationController controller = null;

   public ScenarioRunner(SimulationController controller)
   {
      this.controller = controller;
   }

   public void run()
   {
      controller.step();
   }
}
